package com.campus.mapper;

import com.campus.entity.Comments;
import com.campus.entity.CommentDetailDTO;
import java.util.List;

public interface CommentsMapper {
    int createComment(Comments comments);
    
    List<CommentDetailDTO> getCommentsByPostId(String postId);
    
    Comments getCommentById(String commentId);
    
    int updateComment(Comments comments);
    
    int deleteComment(String commentId);
    
    int increaseLikesCount(String commentId);
    
    int decreaseLikesCount(String commentId);
}